package com.yhg.Order.Bean;

import com.yhg.Product.Bean.Product;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class Order {
    private Long id;
    private Long userId;
    private BigDecimal totalAmount;
    private String nickName;
    private String address;
    private List<Product> productList;

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
